package com.orkasgb.framework.transaction;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Service
public class TransactionTestBService {

	TransactionTestDao transactionTestDao;

	@Transactional(rollbackFor = Exception.class, propagation = Propagation.NEVER)
	public void update(int roleNo, String roleName) {
		transactionTestDao.update(roleNo, roleName);
	}
}
